//
//  RunInfo.h
//  SportSocial
//
//  Created by yull on 15/2/4.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMResultSet.h>
#import "BMKLocationService.h"

@interface RunInfo : NSObject

@property (nonatomic, assign) UInt64 dbId;

@property (nonatomic, assign) UInt64 planId;

@property (nonatomic, assign) NSTimeInterval locate_date;

@property (nonatomic, assign) CGFloat altitude;

@property (nonatomic, assign) CGFloat longitude;

@property (nonatomic, assign) CGFloat latitude;

@property (nonatomic, assign) CGFloat speed;

@property (nonatomic, assign) CGFloat bearing;

@property (nonatomic, assign) CGFloat accuracy;

+ (instancetype)runInfoWithResultSet:(FMResultSet *)resultSet;

+ (instancetype)runInfoWithLocation:(CLLocation *)location;
@end
